import { BaseDTO } from '@todo/core';

export interface JokeResponseDTO {
  id: number;
  type: string;
  setup: string;
  punchline: string;
}

export interface responseLoginDTO extends BaseDTO {
  data: {
    accessToken: string;
    expiresIn: number;
    refreshToken: string;
    roleType: string;
    tokenType: string;
  };
}

export interface requestLoginDTO {
  email: string;
  password: string;
  adminLogin?: boolean;
}
